package org.dromara.hotel.domain.bo;

import org.dromara.hotel.domain.TerHotelRooms;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

/**
 * 酒店房型管理业务对象 ter_hotel_rooms
 *
 * @author xch
 * @date 2025-06-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TerHotelRooms.class, reverseConvertGenerate = false)
public class TerHotelRoomsBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 酒店id
     */
    @NotNull(message = "酒店id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long hotelId;

    /**
     * 酒店名称
     */
    private String hotelName;

    /**
     * 房间名称类型
     */
    @NotBlank(message = "房间名称类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String roomType;

    /**
     * 房间预览图片
     */
    private String roomImgurl;

    /**
     * 轮播图
     */
    private String carouselImages;

    /**
     * 描述
     */
    private String description;

    /**
     * 原价
     */
    @NotNull(message = "原价不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long price;

    /**
     * 标签
     */
    private String label;

    /**
     * 总数量
     */
    @NotNull(message = "总数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long totalQuantity;



    /**
     * 房间规格
     */
    private String specification;

    /**
     * 友情提示
     */
    private String remark;

    /**
     * 排序号
     */
    private Long orderNum;
    private Integer status;

    private String wifi;
    private String wifiPwd;
}
